package com.example.commons.handler;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 自定义消息处理器注解
 * @author cdw
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface MsgHandler {
    String value() default "*";
}
